package com.api.hg.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 部门资产盘点任务
 */
@Table(value="uf_bmzcpdrw",datasource = "local")
public class uf_bmzcpdrw {
    @Field(dbFiledName="")
    private String datauuid="";//
    @Field(dbFiledName="")
    private String sblx="";//设备类型
    @Field(dbFiledName="")
    private String pdrwbt="";//盘点任务标题
    @Field(dbFiledName="")
    private String pdnf="";//盘点年份
    @Field(dbFiledName="")
    private int pdxfr=0;//	盘点下发人
    @Field(dbFiledName="")
    private String xfrq="";//下发日期
    @Field(dbFiledName="")
    private String pdqx="";//盘点期限
    @Field(dbFiledName="")
    private int pdbm=0;//盘点部门
    @Field(dbFiledName="")
    private int pdsbzs;//盘点设备总数
    @Field(dbFiledName="")
    private String bxpdsb="";//不需盘点设备
    @Field(dbFiledName="")
    private int pdzt=0;//盘点状态
    @Field(dbFiledName="")
    private String szsjrw="";//所属上级任务
    @Field(dbFiledName="")
    private String zrr="";//责任人

    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="210";//模块ID 默认值 本地14 海关测试196 海关正式197
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    public uf_bmzcpdrw(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }

    public String getZrr() {
        return zrr;
    }

    public void setZrr(String zrr) {
        this.zrr = zrr;
    }

    public String getDatauuid() {
        return datauuid;
    }

    public void setDatauuid(String datauuid) {
        this.datauuid = datauuid;
    }

    public String getSblx() {
        return sblx;
    }

    public void setSblx(String sblx) {
        this.sblx = sblx;
    }

    public String getPdrwbt() {
        return pdrwbt;
    }

    public void setPdrwbt(String pdrwbt) {
        this.pdrwbt = pdrwbt;
    }

    public String getPdnf() {
        return pdnf;
    }

    public void setPdnf(String pdnf) {
        this.pdnf = pdnf;
    }

    public int getPdxfr() {
        return pdxfr;
    }

    public void setPdxfr(int pdxfr) {
        this.pdxfr = pdxfr;
    }

    public String getXfrq() {
        return xfrq;
    }

    public void setXfrq(String xfrq) {
        this.xfrq = xfrq;
    }

    public String getPdqx() {
        return pdqx;
    }

    public void setPdqx(String pdqx) {
        this.pdqx = pdqx;
    }

    public int getPdbm() {
        return pdbm;
    }

    public void setPdbm(int pdbm) {
        this.pdbm = pdbm;
    }

    public int getPdsbzs() {
        return pdsbzs;
    }

    public void setPdsbzs(int pdsbzs) {
        this.pdsbzs = pdsbzs;
    }

    public String getBxpdsb() {
        return bxpdsb;
    }

    public void setBxpdsb(String bxpdsb) {
        this.bxpdsb = bxpdsb;
    }

    public int getPdzt() {
        return pdzt;
    }

    public void setPdzt(int pdzt) {
        this.pdzt = pdzt;
    }

    public String getSzsjrw() {
        return szsjrw;
    }

    public void setSzsjrw(String szsjrw) {
        this.szsjrw = szsjrw;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    @Override
    public String toString() {
        return "uf_bmzcpdrw{" +
                "datauuid='" + datauuid + '\'' +
                ", sblx='" + sblx + '\'' +
                ", pdrwbt='" + pdrwbt + '\'' +
                ", pdnf='" + pdnf + '\'' +
                ", pdxfr=" + pdxfr +
                ", xfrq='" + xfrq + '\'' +
                ", pdqx='" + pdqx + '\'' +
                ", pdbm=" + pdbm +
                ", pdsbzs=" + pdsbzs +
                ", bxpdsb='" + bxpdsb + '\'' +
                ", pdzt=" + pdzt +
                ", szsjrw='" + szsjrw + '\'' +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                '}';
    }
}
